﻿using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Blazor.Editors;

namespace EasyXaf.EntityDesigner.Controllers;

public class LookupActionVisibilityController : ViewController<DetailView>
{
    protected override void OnActivated()
    {
        base.OnActivated();

        View.CustomizeViewItemControl<LookupPropertyEditor>(this, e =>
        {
            e.HideNewButton();
            e.HideEditButton();
        });
    }
}
